/*
 * @Author: Jayken
 * @Email: jaykenxie@outlook.com
 * @Date: 2019-08-06 14:03:22
 */
export default [
  // 多选
  // {
  //   type: "select",
  //   title: "多选",
  //   field: "multiple",
  //   value: "0",
  //   options: [{ value: "1", label: "是", disabled: false }, { value: "0", label: "否", disabled: false }],
  //   props: {
  //     placeholder: "请选择",
  //     "not-found-text": "无匹配数据",
  //     placement: "bottom"
  //   },
  //   col: {
  //     span: 12
  //   }
  // },
  // disabled
  {
    type: "select",
    title: "禁用状态",
    field: "disabled",
    value: "0",
    options: [{ value: "1", label: "禁用", disabled: false }, { value: "0", label: "不禁用", disabled: false }],
    props: {
      placeholder: "请选择",
      "not-found-text": "无匹配数据",
      placement: "bottom"
    },
    col: {
      span: 12
    }
  },
  // clearable
  {
    type: "select",
    title: "清空按钮",
    field: "clearable",
    value: "0",
    options: [{ value: "1", label: "显示", disabled: false }, { value: "0", label: "不显示", disabled: false }],
    props: {
      placeholder: "请选择",
      "not-found-text": "无匹配数据",
      placement: "bottom"
    },
    col: {
      span: 12
    }
  },
  // pleasehold
  {
    type: "input",
    title: "提示文本",
    field: "placeholder",
    value: "请输入",
    props: {
      type: "text",
      maxlength: 30
    },
    col: {
      span: 12
    }
  },
  // placement
  {
    type: "select",
    title: "弹窗方向",
    field: "placement",
    value: "bottom-start",
    options: [
      { value: "top-start", label: "上", disabled: false },
      { value: "bottom-start", label: "下", disabled: false }
    ],
    props: {
      placeholder: "请选择",
      "not-found-text": "无匹配数据",
      placement: "bottom"
    },
    col: {
      span: 12
    }
  }
];
